package com.example.steeringwheelseekbar


import androidx.compose.runtime.Composable
import androidx.navigation.compose.NavHost
import androidx.navigation.compose.composable
import androidx.navigation.compose.rememberNavController

@Composable
fun NavHostController() {
    val navController = rememberNavController()
    NavHost(navController = navController, startDestination = RouteConfig.ROUTE_COMPOSE_ACTIVITY) {

        composable(RouteConfig.ROUTE_COMPOSE_ACTIVITY) {
            ComposeActivity(navController)
        }

        composable(RouteConfig.ROUTE_VIEW_ACTIVITY) {
            ViewActivity(navController)
        }
    }
}


